Integrand size = 25, antiderivative size = 302 \[ \int \frac {2+3 x^2}{x^4 \sqrt {3+5 x^2+x^4}} \, dx=\frac {7 x \left (5+\sqrt {13}+2 x^2\right )}{54 \sqrt {3+5 x^2+x^4}}-\frac {2 \sqrt {3+5 x^2+x^4}}{9 x^3}-\frac {7 \sqrt {3+5 x^2+x^4}}{27 x}-\frac {7 \sqrt {\frac {1}{6} \left (5+\sqrt {13}\right )} \sqrt {\frac {6+\left (5-\sqrt {13}\right ) x^2}{6+\left (5+\sqrt {13}\right ) x^2}} \left (6+\left (5+\sqrt {13}\right ) x^2\right ) E\left (\arctan \left (\sqrt {\frac {1}{6} \left (5+\sqrt {13}\right )} x\right )|\frac {1}{6} \left (-13+5 \sqrt {13}\right )\right )}{54 \sqrt {3+5 x^2+x^4}}-\frac {\sqrt {\frac {2}{3 \left (5+\sqrt {13}\right )}} \sqrt {\frac {6+\left (5-\sqrt {13}\right ) x^2}{6+\left (5+\sqrt {13}\right ) x^2}} \left (6+\left (5+\sqrt {13}\right ) x^2\right ) \operatorname {EllipticF}\left (\arctan \left (\sqrt {\frac {1}{6} \left (5+\sqrt {13}\right )} x\right ),\frac {1}{6} \left (-13+5 \sqrt {13}\right )\right )}{9 \sqrt {3+5 x^2+x^4}} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 302, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {1295, 1203, 1113, 1149} \[ \int \frac {2+3 x^2}{x^4 \sqrt {3+5 x^2+x^4}} \, dx=-\frac {\sqrt {\frac {2}{3 \left (5+\sqrt {13}\right )}} \sqrt {\frac {\left (5-\sqrt {13}\right ) x^2+6}{\left (5+\sqrt {13}\right ) x^2+6}} \left (\left (5+\sqrt {13}\right ) x^2+6\right ) \operatorname {EllipticF}\left (\arctan \left (\sqrt {\frac {1}{6} \left (5+\sqrt {13}\right )} x\right ),\frac {1}{6} \left (-13+5 \sqrt {13}\right )\right )}{9 \sqrt {x^4+5 x^2+3}}-\frac {7 \sqrt {\frac {1}{6} \left (5+\sqrt {13}\right )} \sqrt {\frac {\left (5-\sqrt {13}\right ) x^2+6}{\left (5+\sqrt {13}\right ) x^2+6}} \left (\left (5+\sqrt {13}\right ) x^2+6\right ) E\left (\arctan \left (\sqrt {\frac {1}{6} \left (5+\sqrt {13}\right )} x\right )|\frac {1}{6} \left (-13+5 \sqrt {13}\right )\right )}{54 \sqrt {x^4+5 x^2+3}}+\frac {7 x \left (2 x^2+\sqrt {13}+5\right )}{54 \sqrt {x^4+5 x^2+3}}-\frac {7 \sqrt {x^4+5 x^2+3}}{27 x}-\frac {2 \sqrt {x^4+5 x^2+3}}{9 x^3} \]
[In]
[Out]
Rule 1113
Rule 1149
Rule 1203
Rule 1295
Rubi steps \begin{align*} \text {integral}& = -\frac {2 \sqrt {3+5 x^2+x^4}}{9 x^3}-\frac {1}{9} \int \frac {-7+2 x^2}{x^2 \sqrt {3+5 x^2+x^4}} \, dx \\ & = -\frac {2 \sqrt {3+5 x^2+x^4}}{9 x^3}-\frac {7 \sqrt {3+5 x^2+x^4}}{27 x}+\frac {1}{27} \int \frac {-6+7 x^2}{\sqrt {3+5 x^2+x^4}} \, dx \\ & = -\frac {2 \sqrt {3+5 x^2+x^4}}{9 x^3}-\frac {7 \sqrt {3+5 x^2+x^4}}{27 x}-\frac {2}{9} \int \frac {1}{\sqrt {3+5 x^2+x^4}} \, dx+\frac {7}{27} \int \frac {x^2}{\sqrt {3+5 x^2+x^4}} \, dx \\ & = \frac {7 x \left (5+\sqrt {13}+2 x^2\right )}{54 \sqrt {3+5 x^2+x^4}}-\frac {2 \sqrt {3+5 x^2+x^4}}{9 x^3}-\frac {7 \sqrt {3+5 x^2+x^4}}{27 x}-\frac {7 \sqrt {\frac {1}{6} \left (5+\sqrt {13}\right )} \sqrt {\frac {6+\left (5-\sqrt {13}\right ) x^2}{6+\left (5+\sqrt {13}\right ) x^2}} \left (6+\left (5+\sqrt {13}\right ) x^2\right ) E\left (\tan ^{-1}\left (\sqrt {\frac {1}{6} \left (5+\sqrt {13}\right )} x\right )|\frac {1}{6} \left (-13+5 \sqrt {13}\right )\right )}{54 \sqrt {3+5 x^2+x^4}}-\frac {\sqrt {\frac {2}{3 \left (5+\sqrt {13}\right )}} \sqrt {\frac {6+\left (5-\sqrt {13}\right ) x^2}{6+\left (5+\sqrt {13}\right ) x^2}} \left (6+\left (5+\sqrt {13}\right ) x^2\right ) F\left (\tan ^{-1}\left (\sqrt {\frac {1}{6} \left (5+\sqrt {13}\right )} x\right )|\frac {1}{6} \left (-13+5 \sqrt {13}\right )\right )}{9 \sqrt {3+5 x^2+x^4}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 10.24 (sec) , antiderivative size = 237, normalized size of antiderivative = 0.78 \[ \int \frac {2+3 x^2}{x^4 \sqrt {3+5 x^2+x^4}} \, dx=\frac {-4 \left (18+51 x^2+41 x^4+7 x^6\right )+7 i \sqrt {2} \left (-5+\sqrt {13}\right ) x^3 \sqrt {\frac {-5+\sqrt {13}-2 x^2}{-5+\sqrt {13}}} \sqrt {5+\sqrt {13}+2 x^2} E\left (i \text {arcsinh}\left (\sqrt {\frac {2}{5+\sqrt {13}}} x\right )|\frac {19}{6}+\frac {5 \sqrt {13}}{6}\right )-i \sqrt {2} \left (-47+7 \sqrt {13}\right ) x^3 \sqrt {\frac {-5+\sqrt {13}-2 x^2}{-5+\sqrt {13}}} \sqrt {5+\sqrt {13}+2 x^2} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {\frac {2}{5+\sqrt {13}}} x\right ),\frac {19}{6}+\frac {5 \sqrt {13}}{6}\right )}{108 x^3 \sqrt {3+5 x^2+x^4}} \]
[In]
[Out]
Time = 2.11 (sec) , antiderivative size = 228, normalized size of antiderivative = 0.75
method | result | size |
default | \(-\frac {7 \sqrt {x^{4}+5 x^{2}+3}}{27 x}-\frac {28 \sqrt {1-\left (-\frac {5}{6}+\frac {\sqrt {13}}{6}\right ) x^{2}}\, \sqrt {1-\left (-\frac {5}{6}-\frac {\sqrt {13}}{6}\right ) x^{2}}\, \left (F\left (\frac {x \sqrt {-30+6 \sqrt {13}}}{6}, \frac {5 \sqrt {3}}{6}+\frac {\sqrt {39}}{6}\right )-E\left (\frac {x \sqrt {-30+6 \sqrt {13}}}{6}, \frac {5 \sqrt {3}}{6}+\frac {\sqrt {39}}{6}\right )\right )}{3 \sqrt {-30+6 \sqrt {13}}\, \sqrt {x^{4}+5 x^{2}+3}\, \left (5+\sqrt {13}\right )}-\frac {2 \sqrt {x^{4}+5 x^{2}+3}}{9 x^{3}}-\frac {4 \sqrt {1-\left (-\frac {5}{6}+\frac {\sqrt {13}}{6}\right ) x^{2}}\, \sqrt {1-\left (-\frac {5}{6}-\frac {\sqrt {13}}{6}\right ) x^{2}}\, F\left (\frac {x \sqrt {-30+6 \sqrt {13}}}{6}, \frac {5 \sqrt {3}}{6}+\frac {\sqrt {39}}{6}\right )}{3 \sqrt {-30+6 \sqrt {13}}\, \sqrt {x^{4}+5 x^{2}+3}}\) | \(228\) |
risch | \(-\frac {7 x^{6}+41 x^{4}+51 x^{2}+18}{27 x^{3} \sqrt {x^{4}+5 x^{2}+3}}-\frac {4 \sqrt {1-\left (-\frac {5}{6}+\frac {\sqrt {13}}{6}\right ) x^{2}}\, \sqrt {1-\left (-\frac {5}{6}-\frac {\sqrt {13}}{6}\right ) x^{2}}\, F\left (\frac {x \sqrt {-30+6 \sqrt {13}}}{6}, \frac {5 \sqrt {3}}{6}+\frac {\sqrt {39}}{6}\right )}{3 \sqrt {-30+6 \sqrt {13}}\, \sqrt {x^{4}+5 x^{2}+3}}-\frac {28 \sqrt {1-\left (-\frac {5}{6}+\frac {\sqrt {13}}{6}\right ) x^{2}}\, \sqrt {1-\left (-\frac {5}{6}-\frac {\sqrt {13}}{6}\right ) x^{2}}\, \left (F\left (\frac {x \sqrt {-30+6 \sqrt {13}}}{6}, \frac {5 \sqrt {3}}{6}+\frac {\sqrt {39}}{6}\right )-E\left (\frac {x \sqrt {-30+6 \sqrt {13}}}{6}, \frac {5 \sqrt {3}}{6}+\frac {\sqrt {39}}{6}\right )\right )}{3 \sqrt {-30+6 \sqrt {13}}\, \sqrt {x^{4}+5 x^{2}+3}\, \left (5+\sqrt {13}\right )}\) | \(228\) |
elliptic | \(-\frac {7 \sqrt {x^{4}+5 x^{2}+3}}{27 x}-\frac {28 \sqrt {1-\left (-\frac {5}{6}+\frac {\sqrt {13}}{6}\right ) x^{2}}\, \sqrt {1-\left (-\frac {5}{6}-\frac {\sqrt {13}}{6}\right ) x^{2}}\, \left (F\left (\frac {x \sqrt {-30+6 \sqrt {13}}}{6}, \frac {5 \sqrt {3}}{6}+\frac {\sqrt {39}}{6}\right )-E\left (\frac {x \sqrt {-30+6 \sqrt {13}}}{6}, \frac {5 \sqrt {3}}{6}+\frac {\sqrt {39}}{6}\right )\right )}{3 \sqrt {-30+6 \sqrt {13}}\, \sqrt {x^{4}+5 x^{2}+3}\, \left (5+\sqrt {13}\right )}-\frac {2 \sqrt {x^{4}+5 x^{2}+3}}{9 x^{3}}-\frac {4 \sqrt {1-\left (-\frac {5}{6}+\frac {\sqrt {13}}{6}\right ) x^{2}}\, \sqrt {1-\left (-\frac {5}{6}-\frac {\sqrt {13}}{6}\right ) x^{2}}\, F\left (\frac {x \sqrt {-30+6 \sqrt {13}}}{6}, \frac {5 \sqrt {3}}{6}+\frac {\sqrt {39}}{6}\right )}{3 \sqrt {-30+6 \sqrt {13}}\, \sqrt {x^{4}+5 x^{2}+3}}\) | \(228\) |
[In]
[Out]
none
Time = 0.08 (sec) , antiderivative size = 140, normalized size of antiderivative = 0.46 \[ \int \frac {2+3 x^2}{x^4 \sqrt {3+5 x^2+x^4}} \, dx=-\frac {7 \, {\left (\sqrt {13} \sqrt {6} \sqrt {3} x^{3} - 5 \, \sqrt {6} \sqrt {3} x^{3}\right )} \sqrt {\sqrt {13} - 5} E(\arcsin \left (\frac {1}{6} \, \sqrt {6} x \sqrt {\sqrt {13} - 5}\right )\,|\,\frac {5}{6} \, \sqrt {13} + \frac {19}{6}) - {\left (13 \, \sqrt {13} \sqrt {6} \sqrt {3} x^{3} - 5 \, \sqrt {6} \sqrt {3} x^{3}\right )} \sqrt {\sqrt {13} - 5} F(\arcsin \left (\frac {1}{6} \, \sqrt {6} x \sqrt {\sqrt {13} - 5}\right )\,|\,\frac {5}{6} \, \sqrt {13} + \frac {19}{6}) + 36 \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (7 \, x^{2} + 6\right )}}{972 \, x^{3}} \]
[In]
[Out]
\[ \int \frac {2+3 x^2}{x^4 \sqrt {3+5 x^2+x^4}} \, dx=\int \frac {3 x^{2} + 2}{x^{4} \sqrt {x^{4} + 5 x^{2} + 3}}\, dx \]
[In]
[Out]
\[ \int \frac {2+3 x^2}{x^4 \sqrt {3+5 x^2+x^4}} \, dx=\int { \frac {3 \, x^{2} + 2}{\sqrt {x^{4} + 5 \, x^{2} + 3} x^{4}} \,d x } \]
[In]
[Out]
\[ \int \frac {2+3 x^2}{x^4 \sqrt {3+5 x^2+x^4}} \, dx=\int { \frac {3 \, x^{2} + 2}{\sqrt {x^{4} + 5 \, x^{2} + 3} x^{4}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {2+3 x^2}{x^4 \sqrt {3+5 x^2+x^4}} \, dx=\int \frac {3\,x^2+2}{x^4\,\sqrt {x^4+5\,x^2+3}} \,d x \]
[In]
[Out]